import wxRequest from "@/utils/requestNew";
import config from "./config.js";
// #ifdef MP-XHS
var fly = wxRequest;
// #endif
// #ifndef MP-XHS
import flyRequest from "flyio";
if (config.appkey && config.appsecret) {
  var fly = flyRequest;
} else {
  var fly = wxRequest;
}
// #endif

const api = {
  membercardInterestDesc: (r) =>
    fly.get("/api/member/membercardInterestDesc.json", r),
  queryAdTaskById: (r) => fly.get("/api/hotel/queryAdTaskById.json", r),
  destroyMember: (r) => fly.post("/api/member/destroyMember.json", r),
  getfunctionControlNew: (r) =>
    fly.get("/api/cache/sysOptions/getMultiSysOptionCommon.json", r),
  getCardList: (r) => fly.get("/api/member/getCardList.json", r),
  xhsPay: (r) => fly.post("/redminiapi/deal/query_pay_token", r),
  threeMetaCheck: (r) => fly.post("/api/member/threeMetaCheck.json", r),
  queryAlipaycardTemplate: (r) =>
    fly.get("/api/alipaycard/queryAlipaycardTemplate.json", r),
  refund: (r) => fly.get("/api/hotel/cancel/refund.json", r),
  getConfigSysOptionFromCache: (r) =>
    fly.get("/api/cache/sysOptions/getConfigSysOptionFromCache.json", r),
  getThemes: (r) =>
    fly.get("/shopapi/shopMemberCenterConfig/getThemes.json", r),
  crsOrderInfo: (r) => fly.post("/api/selfBook/crsOrderInfo.json", r),
  isUpdateMemberBaseInfo: (r) =>
    fly.post("/api/member/isUpdateMemberBaseInfo.json", r),
  cancelCartOrder: (r) => fly.post("/api/hotel/cancelCartOrder.json", r),
  pmsFindSysOptionList: (r) =>
    fly.get("/api/selfBook/findSysOptionList.json", r),
  findPreOrderInfo: (r) => fly.get("/api/member/findPreOrderInfo.json", r),
  cancelAble: (r) => fly.get("/api/hotel/cancel/cancelAble.json", r),
  updateOrderInPayment: (r) => fly.get("/api/pay/updateOrderInPayment.json", r),
  selectShowConfigs: (r) =>
    fly.post("/hotelapi/ShowConfig/selectShowConfigs", r),
  //古北查询筛选类型
  findFoodType: (r) => fly.post("/hotelapi/PlayStrategy/findPlayTypeModeH5", r),
  //古北列表
  getFoodList: (r) => fly.post("/hotelapi/PlayStrategy/PlayStrategyH5New", r),
  //古北列表详情
  getFoodDetail: (r) =>
    fly.get("/hotelapi/PlayStrategy/PlayStrategyDetailH5", r),
  // 古北水镇好物推荐
  findManagementModules: (r) =>
    fly.post("/hotelapi/ManagementModule/findManagementModules", r),
  managementDetail: (r) =>
    fly.post("/hotelapi/ManagementModule/findManagementModulesByCode", r),
  findMapModeConfigs: (r) =>
    fly.post("/hotelapi/MapModeConfig/findMapModeConfigs", r),
  checkPoint: (r) => fly.post("/hotelapi/MapModeConfig/checkPoint.json", r),
  updateUserinfoByMiniOpenId: (r) =>
    fly.post("/api/wxMiniApp/updateUserinfoByMiniOpenId.json", r),
  updateSetDefaultCard: (r) =>
    fly.get("/api/member/updateSetDefaultCard.json", r),
  queryCouponCountsWithMemberIdGroupBySta: (r) =>
    fly.post("/api/member/queryCouponCountsWithMemberIdGroupBySta.json", r),
  queryCompanyInfo: (r) => fly.post("/api/company/queryCompanyInfo.json?" + r),
  getShopMemberCenterConfig: (r) =>
    fly.get("/api/shop/getShopMemberCenterConfig", r),
  PlayStrategyByAttrCodeH5: (r) =>
    fly.get("/hotelapi/PlayStrategy/PlayStrategyByAttrCodeH5", r),
  PlayStrategyDetailH5: (r) =>
    fly.get("/hotelapi/PlayStrategy/PlayStrategyDetailH5", r),
  interfaceTransfer: (r) => fly.post("/api/sync/interfaceTransfer.json", r),
  openMsgRemind: (r) => fly.post("/hotelapi/ShowConfig/openMsgRemind", r),
  cancelMsgRemind: (r) => fly.post("/hotelapi/ShowConfig/cancelMsgRemind", r),
  selectShowTimeConfigs: (r) =>
    fly.post("/hotelapi/ShowConfig/selectShowTimeConfigs", r),
  queryDataByWxacodeScene: (r) =>
    fly.get("/api/microSoftWare/admin/queryDataByWxacodeScene.json", r),
  rmfeeBill: (r) => fly.get("/api/selfBook/rmfeeBill.json", r),
  zhzcheckout: (r) => fly.get("/api/selfBook/zhzcheckout.json", r),
  getDelayZhz: (r) => fly.get("/api/selfBook/getDelayZhz.json", r),
  delayNonpay: (r) => fly.get("/api/selfBook/delayNonpay.json", r),
  checkDelay: (r) => fly.get("/api/selfBook/checkDelay.json", r),
  checkOut: (r) => fly.get("/api/selfBook/checkOut.json", r),
  //酒店取消订单
  findParkingServiceConfigByHotelCode: (r) =>
    fly.get(
      "/hotelapi/parkingServiceConfig/findParkingServiceConfigByHotelCode.json",
      r
    ),
  getMemberPriceAjax: (r) =>
    fly.post(
      "/api/hotel/queryProductMemPrice.json?appid=" +
      r.appid +
      "&componentAppid=" +
      r.componentAppid,
      r
    ),
  //酒店取消订单
  hotelCancelOrder: (r) =>
    fly.post(
      "/api/hotel/product/cancelOrder.json?appid=" +
      r.appid +
      "&componentAppid=" +
      r.componentAppid,
      r
    ),
  //删除订单
  deleteCrs: (r) => fly.get("/api/member/updateGcResrvIsHide.json", r),
  //取消订单相关接口
  orderRefundSubmit: (r) =>
    fly.get("/api/hotel/cancel/orderRefundSubmit.json", r),
  orderRefundConfig: (r) =>
    fly.get("/api/hotel/cancel/orderRefundConfig.json", r),
  getOrdersRefund: (r) => fly.get("/api/hotel/cancel/getOrdersRefund.json", r),
  //酒店详情接口
  hotelInfo: (r) => fly.get("/api/hotel/info.json", r),
  //发票的相关接口
  saveResrvInvoice: (r) => fly.post("/api/member/saveResrvInvoice.json", r),
  saveResrvInvoice4MasterBase: (r) =>
    fly.post("/api/member/saveResrvInvoice4MasterBase.json", r),
  saveOrUpdateMemberInvoice: (r) =>
    fly.post("/api/member/saveOrUpdateMemberInvoice.json", r),
  memberInvoiceInfo: (r) => fly.get("/api/member/memberInvoiceInfo.json", r),
  deleteMemberInvoice: (r) =>
    fly.get("/api/member/deleteMemberInvoice.json", r),
  getOrderInvoiceSta: (r) => fly.get("/api/invoice/getOrderInvoiceSta.json", r),
  getInvoiceAmountAndMsg: (r) =>
    fly.get("/api/invoice/getInvoiceAmountAndMsg.json", r),
  saveOrUpdateOrderInvoice: (r) =>
    fly.get("/api/invoice/saveOrUpdateOrderInvoice.json", r),
  applyInvoice: (r) => fly.get("/api/invoice/applyInvoice.json", r),
  getInvoiceOrder: (r) => fly.get("/api/invoice/getInvoiceOrder.json", r),
  //获取已开发票
  findResrvInvoice: (r) => fly.get("/api/member/findResrvInvoice.json", r),
  //客房积分抵扣
  getPointDedInfo: (r) => fly.get("/api/hotel/getPointDedInfo.json", r),
  //客房支付方式获取
  getPay: (r) => fly.get("/api/pay/getPay.json", r),
  //客房订单详情
  showOrder: (r) => fly.get("/api/hotel/product/showOrder.json", r),
  //获取发票信息
  memberInvoice: (r) => fly.get("/api/member/memberInvoice.json", r),
  //获取订单列表
  listCrs: (r) => fly.get("/api/member/listCrs.json", r),
  //获取服务券
  couponServiceBooking: (r) =>
    fly.get("/api/member/couponServiceBooking.json", r),
  //获取优惠券
  findCouponDetailListByCondi: (r) =>
    fly.get("/api/member/findCouponDetailListByCondi.json", r),
  //获取入住人
  findFrequentTravellers: (r) =>
    fly.get("/api/member/findFrequentTravellers.json", r),
  //查询当前会员的PMS权益
  findExtra: (r) => fly.get("/api/member/findExtra.json", r),
  //客房下单
  makeOrder: (r) =>
    fly.post(
      "/api/hotel/product/makeOrder.json?appid=" +
      r.appid +
      "&componentAppid=" +
      r.componentAppid,
      r
    ),
  //可订检查
  resrvCheck: (r) =>
    fly.post(
      "/api/hotel/product/resrvCheck.json?appid=" +
      r.appid +
      "&componentAppid=" +
      r.componentAppid,
      r
    ),
  //获取取消规则
  getCancelRule: (r) => fly.post("/api/wxMiniApp/getCancelRule.json?" + r, r),
  //获取酒店产品
  hotelListAll: (r) =>
    fly.post(
      "/api/hotel/hotelListAllNew.json?appid=" +
      r.appid +
      "&componentAppid=" +
      r.componentAppid,
      r
    ),
  //获取活动
  hotelActivity: (r) =>
    fly.get(
      "/api/wechat/platform/hotelActivity/hotelActivityByHotelGroupCode.json",
      r
    ),
  //获取广告
  advertisingList: (r) =>
    fly.get("/api/wechat/advertising/advertisingList.json", r),
  //获取开关
  getMultiSysOptionCommonForHigh: (r) =>
    fly.get("/api/cache/sysOptions/getMultiSysOptionCommonForHigh.json", r),
  //获取高级检索
  getAdvancedSearch: (r) => fly.get("/api/hotel/selectCodeAndDescript.json", r),
  //获取热门城市列表
  hotCity: (r) => fly.get("/api/area/hotCity.json", r),
  //获取城市列表
  getCityList: (r) => fly.get("/api/area/info.json", r),
  //获取账单
  listAccountDetailNew: (r) =>
    fly.get("/api/selfBook/listAccountDetailNew.json", r),
  //获取同住人
  getMasterLive: (r) => fly.get("/api/selfBook/getMasterLive.json", r),
  //新增同住人
  masterAddPeopleNew: (r) =>
    fly.get("/api/selfBook/masterAddPeopleNew.json", r),
  //获取同住码
  getZhzCohabitationCode: (r) =>
    fly.get("/api/selfBook/getZhzCohabitationCode.json", r),
  //wifi认证状态
  queryAuthWiFi: (r) => fly.get("/api/member/queryAuthWiFi.json", r),
  //第三方订单聚合
  syncMasterOrdersFromOtaChannel: (r) =>
    fly.get("/api/hotel/syncMasterOrdersFromOtaChannel.json", r),
  //wifi
  authWiFi: (r) => fly.post("/api/member/authWiFi.json", r),
  //支付
  newPay: (r) => fly.get("/api/pay/pay.json", r),
  //住中服务欢迎页
  getMemberRightByCardLevel: (r) =>
    fly.get("/api/membercard/getMemberRightByCardLevel.json", r),
  //酒店超市下单
  placeOrder: (r) => fly.post("/api/hotelCheckIn/placeOrder.json", r),
  //获取建发酒店ID
  getCssHotel: (r) => fly.get("/api/hotelCheckIn/getCssHotel.json", r),
  //获取酒店服务
  getHotelServiceList: (r) =>
    fly.get("/api/hotelCheckIn/getHotelServiceList.json", r),
  //查询送餐明细
  getMenuDatas: (r) => fly.get("/api/hotelCheckIn/getMenuDatas.json", r),
  //获取酒店服务
  getGuestJobs: (r) => fly.get("/api/hotelCheckIn/getGuestJobs.json", r),
  //获取酒店服务
  getItemsByid: (r) => fly.get("/api/hotelCheckIn/getItemsByid.json", r),
  //发送服务
  sendServices: (r) => fly.post("/api/hotelCheckIn/sendServices.json", r),
  //获取通用服务
  getCommonServiceByid: (r) =>
    fly.get("/api/hotelCheckIn/getCommonServiceByid.json", r),
  //修改或新增停车服务列表
  saveOrUpdateMasterPlateNoDtoForZhiHuiZhu: (r) =>
    fly.get("/api/selfBook/saveOrUpdateMasterPlateNoDtoForZhiHuiZhu.json", r),
  //获取停车服务列表
  findMasterPlateNoDtoForZhiHuiZhu: (r) =>
    fly.get("/api/selfBook/findMasterPlateNoDtoForZhiHuiZhu.json", r),
  //自助服务订单号
  getRoomByCrsNo: (r) => fly.get("/api/selfBook/getRoomByCrsNo.json", r),
  //会员订单列表
  listOrdersByMember: (r) => fly.get("/api/member/listOrdersByMember.json", r),
  //查询登记单
  findWeChatMasterList: (r) =>
    fly.get("/api/hotel/findWeChatMasterList.json", r),
  //获取轮播图
  smallMobileSilider: (r) =>
    fly.get("/api/cms/articles/smallMobileSilider/views.json", r),
  //获取推荐详情
  listRecommendCmsByHotelCode: (r) =>
    fly.get("/api/recommend/listRecommendCmsByHotelCode.json", r),
  //获取推荐列表
  getRecommendCategoryConfig: (r) =>
    fly.get("/api/recommend/getRecommendCategoryConfig.json", r),
  //获取服务icon列表
  listIconConfig: (r) => fly.get("/api/recommend/listIconConfig.json", r),
  //获取酒店列表
  findHotel: (r) =>
    fly.post(
      "/api/hotel/findHotelByCondition.json?appid=" +
      r.appid +
      "&componentAppid=" +
      r.componentAppid,
      r
    ),
  //获取城市信息
  findCityCodeByDes: (r) => fly.get("/api/area/findCityCodeByDes", r),
  //获取地址
  getCityinfo: (r) =>
    fly.get("https://map.api.gcihotel.net/service/BaiduApi/baiduAk", r),
  //查询券详情
  getCouponByNo: (r) => fly.get("/api/member/getCouponByNo.json", r),
  //优惠券充值
  onlineUsePayCoupon: (r) => fly.get("/api/member/onlineUsePayCoupon.json", r),
  //我的预约-单个订单查询
  selectOneCar: (r) => fly.get("/resrv-car/api/order/selectOne", r),
  //公车服务-全局参数
  globalCar: (r) => fly.get("/resrv-car/api/setting/global", r),
  //我的预约-查询列表
  selfListCar: (r) => fly.get("/resrv-car/api/order/selfList", r),
  //我的预约-车辆下拉框
  carSelectiveCar: (r) => fly.get("/resrv-car/api/order/carSelective", r),
  //修改预约
  updateOrderCar: (r) => fly.post("/resrv-car/api/order/updateOrder", r),
  //取消预约
  cancelOrderCar: (r) => fly.get("/resrv-car/api/order/cancelOrder", r),
  //新增预约
  addOrderCar: (r) => fly.post("/resrv-car/api/order/addOrder", r),
  //修改汽车
  updateCar: (r) => fly.post("/resrv-car/api/driver/updateCar", r),
  //获取汽车
  selfCar: (r) => fly.get("/resrv-car/api/driver/selfCar", r),
  //添加汽车
  addCar: (r) => fly.post("/resrv-car/api/driver/addCar", r),
  //品牌，型号，款式下拉框
  selectiveCar: (r) => fly.get("/resrv-car/api/selective", r),
  // 邀请好友发奖
  inviteFriendGetPrize: (r) =>
    fly.get("/api/wechat/platform/game/inviteFriendGetPrize.json", r),
  // 获取邀请好友历史
  findInviteFriendsHistory: (r) =>
    fly.get("/api/member/findInviteFriendsHistory.json", r),
  // 获取游戏规则
  getGameinfo: (r) => fly.get("/api/wechat/platform/game/gameinfo.json", r),
  // HSL邀请3获取奖品信息
  rewardlist: (r) => fly.get("/api/wechat/platform/game/rewardlist.json", r),
  // HSL邀请3获取拉新数据
  getInviteFriendHistoryDetailsStep: (r) =>
    fly.get(
      "/api/wechat/platform/game/getInviteFriendHistoryDetailsStep.json",
      r
    ),
  // 邀请有礼的信息
  getInviteFriendHistoryDetails: (r) =>
    fly.get("/api/wechat/platform/game/getInviteFriendHistoryDetails.json", r),
  // 通过会员信息刷新
  refreshMemberInfo: (r) => fly.get("/api/member/refreshMemberInfo.json", r),
  // 通过会员信息生成token
  getToken: (r) => fly.get("/api/member/getToken.json", r),
  // 通过token获取信息
  getMemberInfoByToken: (r) =>
    fly.get("/api/member/getMemberInfoByToken.json", r),
  // 微会员更新
  updateMemberInfoForWeiXin: (r) =>
    fly.post("/api/member/updateMemberInfoForWeiXin.json", r),
  // 通过openid
  getUserinfoByMiniOpenId: (r) =>
    fly.get("/api/wxMiniApp/getUserinfoByMiniOpenId.json", r),
  // 获取模板id
  getTmplIds: (r) =>
    fly.get("/api/microSoftWare/msgtemplate/getTmplIds.json", r),
  // 获取系统参数
  getMultiSysOptionCommon: (r) =>
    fly.get("/api/cache/sysOptions/getMultiSysOptionCommon.json", r),
  // 根据套票号获取详情
  findCouponOwnerCombinationDtoByPackageNo: (r) =>
    fly.get("/api/member/findCouponOwnerCombinationDtoByPackageNo.json", r),
  // 根据券号查询转赠中的shareid
  getPresentCouponDetailByCouponNo: (r) =>
    fly.get("/api/coupon/getPresentCouponDetailByCouponNo.json", r),
  // 获取商城可用券
  getAvaliableCouponCodes: (r) =>
    fly.get("/api/shop/getAvaliableCouponCodes.json", r),
  // 轮播图
  listScrollPic: (r) => fly.get("/api/shop/listScrollPic.json", r),
  //商品列表
  listGoods: (r) => fly.get("/api/shop/listGoods.json", r),
  //秒杀列表
  secondRush: (r) => fly.get("/api/shop/secondRush.json", r),
  // 热门搜索
  quesyShopConfig: (r) => fly.get("/api/shop/quesyShopConfig.json", r),
  batchQueryShopConfig: (r) =>
    fly.get("/api/shop/batchQueryShopConfig.json", r),
  // 获取广告
  getScrollPic: (r) => fly.get("/api/shop/getScrollPic.json", r),
  //活动列表页
  getShopActivityConfig: (r) =>
    fly.get("/api/shop/getShopActivityConfig.json", r),
  //活动列表页详情页
  getShopActivityConfigInfo: (r) =>
    fly.get("/api/shop/getShopActivityConfigInfo.json", r),
  //商品详情
  goodsDetail: (r) => fly.get("/api/shop/goodsDetail.json", r),
  //商品点评查询
  listComment: (r) => fly.get("/api/shop/listComment.json", r),
  //获取商品sku
  goodsSku: (r) => fly.get("/api/shop/goodsSku.json", r),
  //加入购物车
  saveShopCart: (r) => fly.post("/api/shop/saveShopCart.json?" + r.url, r),
  //获取购物车商品
  listShopCart: (r) => fly.get("/api/shop/listShopCart.json", r),
  //删除购物车商品
  deleteShopCart: (r) => fly.post("/api/shop/deleteShopCart.json?" + r.url, r),
  //更新购物车
  updateShopCart: (r) => fly.post("/api/shop/updateShopCart.json?" + r.url, r),
  // 检测商品最大购买数
  checkLimitBuy: (r) => fly.post("/api/shop/checkLimitBuy.json", r),
  //商品分类列表
  listGoodsType: (r) => fly.get("/api/shop/listGoodsType.json", r),
  // 查询订单物流信息
  deliveryMessageAjax: (r) => fly.get("/api/shop/deliveryMessageAjax.json", r),
  //获取入账酒店
  getHotelInfo: (r) => fly.get("/api/shop/getHotelInfo.json", r),
  //获取优惠价格
  goodsDiscountPrice: (r) => fly.post("/api/shop/goodsDiscountPrice.json", r),
  // 取消支付
  cancelPay: (r) =>
    fly.post("/api/shop/cancelPay.json?orderNo=" + r.orderNo, r),
  //获取小程序码
  getWxacodeUnlimitUrl: (r) =>
    fly.get("/api/microSoftWare/admin/getWxacodeUnlimitUrl.json", r),
  //获取可用优惠券列表
  listAvaliableGoods: (r) => fly.get("/api/shop/listAvaliableGoods.json", r),
  //获取可用优惠券
  getAvailableCoupon: (r) =>
    fly.post(
      "/api/shop/getAvailableCoupon.json?hotelGroupCode=" +
      r.hotelGroupCode +
      "&hotelGroupId=" +
      r.hotelGroupId +
      "&hotelId=" +
      r.hotelId,
      r
    ),
  // 提交订单
  submitOrder: (r) => fly.post("/api/shop/submitOrder.json", r),
  // 获取订单列表
  listMyOrder: (r) => fly.post("/api/shop/listMyOrder.json?" + r.url, r),
  // 核销码扫描轮询接口
  queryCouponNoStatus: (r) => fly.get("/api/shop/queryCouponNoStatus.json", r),
  // 核销码扫描轮询接口(票券)
  findCouponStaByCouponNos: (r) =>
    fly.get("/api/member/findCouponStaByCouponNos.json", r),
  // 查询第三方订单状态
  orderQuery: (r) => fly.get("/api/shop/orderQuery.json", r),
  checkCouponCount: (r) => fly.get("/api/shop/checkCouponCount.json", r),
  //订单详情
  orderDetail: (r) => fly.get("/api/shop/orderDetail.json", r),
  //更新订单地址信息
  updateShopOrderAddress: (r) =>
    fly.post("/api/shop/updateShopOrderAddress.json", r),
  //转赠
  transferShare: (r) => fly.post("/api/shop/transferShare.json", r),
  //转赠信息接口
  transferShareInfo: (r) => fly.get("/api/shop/transferShareInfo.json", r),
  //领取转赠接口
  receiveTransferShare: (r) =>
    fly.post("/api/shop/receiveTransferShare.json", r),
  //取消订单
  cancelOrder: (r) => fly.post("/api/shop/cancelOrder.json?" + r.url, r),
  // 运费接口
  deliveryPrice: (r) => fly.post("/api/shop/deliveryPrice.json", r),
  //确认收货
  confirmRece: (r) => fly.post("/api/shop/confirmRece.json?" + r.url, r),
  //获取商城配置
  quesyShopConfig: (r) => fly.get("/api/shop/quesyShopConfig.json", r),
  // 通过场景值取的参数
  getWxacodeParams: (r) => fly.get("/api/shop/getWxacodeParams.json", r),
  // 限时抢购配置new
  secondRushTimeSlot: (r) => fly.get("/api/shop/secondRushTimeSlot.json", r),
  //抢购场次下的商品
  secondRushTimeSlotGoods: (r) =>
    fly.get("/api/shop/secondRushTimeSlotGoods.json", r),
  // 限时抢购商品详情
  flashGoodsDetail: (r) => fly.get("/api/shop/flashGoodsDetail.json", r),
  // 取消订阅限时抢购
  cancelFlashNotify: (r) => fly.get("/api/shop/cancelFlashNotify.json", r),
  // 订阅提醒
  addShopFlashNotify: (r) => fly.post("/api/shop/addShopFlashNotify.json", r),
  //线上转邮件
  onLineToSendPost: (r) =>
    fly.post("/api/shop/onLineToSendPost.json?" + r.url, r),
  // 获取地址
  shippingAddress: (r) => fly.get("/api/member/shippingAddress.json", r),
  // 储值卡支付
  pay: (r) => fly.post("/api/shop/pay.json", r),
  //酒店高级检索
  selectCodeAndDescript: (r) =>
    fly.get("/api/hotel/selectCodeAndDescript.json", r),
  //查找酒店
  findHotelByCondition: (r) =>
    fly.post("/api/hotel/findHotelByCondition.json", r),
  //授权
  getWxCode: (r) =>
    fly.post("/api/microSoftWare/getOpenidSessionKeyV2.json", r),
  //会员登录
  memberLoginOpen: (r) => fly.get("/api/member/memberLoginOpen.json", r),
  //会员解绑
  removeOpenId: (r) => fly.post("/api/member/removeOpenId.json?" + r, r),
  //获取验证码
  verifyCode: (r) => fly.get("/api/member/createIdentifyCode.json", r),
  //验证获取的验证码
  verifyIdentifyCode: (r) => fly.get("/api/member/verifyIdentifyCode.json", r),
  //会员登录
  memberLogin: (r) => fly.post("/api/member/memberLogin.json?" + r.url),
  //会员手机登录
  memberLoginByMobileCode: (r) =>
    fly.post("/api/member/memberLoginByMobileCode.json?" + r.url),
  //更新会员信息
  update: (r) =>
    fly.post(
      "/api/member/updateMemberBaseInfo.json?hotelGroupId=" + r.hotelGroupId,
      r
    ),
  //手机号登录
  memberLoginByMobileAndOpenId: (r) =>
    fly.get("/api/member/memberLoginByMobileAndOpenId.json", r),
  //解码
  decrypt: (r) => fly.post("/api/wxMiniApp/decryptV2.json", r),
  //解码-支付宝
  decryptMobile: (r) => fly.post("/api/alipayMini/decryptMobile.json", r),
  //绑定openid
  bindOpenId: (r) => fly.get("/api/member/bindOpenId.json", r),
  //修改密码
  changeMemberPass: (r) =>
    fly.post("/api/member/changeMemberPass.json?" + r, r),
  //修改卡密码
  changeCardPass: (r) => fly.get("/api/member/changeCardPass.json", r),
  //获取栏目
  getWechatNav: (r) =>
    fly.get("/api/cms/articles/" + r.code + "/views.json", r),
  //快速注册
  fastRegister: (r) => fly.post("/api/member/fastRegister.json?" + r.url),
  //获取优惠券
  getCouponCodeList: (r) =>
    fly.get("/api/member/findCouponDetailListByMemberId.json", r),
  // 查询领取页面优惠券列表
  getCanReceivedList: (r) => fly.get("/api/shop/getCanReceivedListNew.json", r),
  // 查询票券平台未使用优惠券
  listAvailableCoupon: (r) =>
    fly.get("/api/member/listAvailableCoupon.json", r),
  // 查询票券平台优惠券
  listCouponWithHistoryByCardNo: (r) =>
    fly.get("/api/member/listCouponWithHistoryByCardNo.json", r),
  // 套票优惠券
  listAvailableCombinationCoupon: (r) =>
    fly.get("/api/member/listAvailableCombinationCoupon.json", r),
  // 查询送出的优惠券
  queryGiftCoupon4Platform: (r) =>
    fly.get("/api/coupon/queryGiftCoupon4Platform.json", r),
  // 查询送出的商品券
  myShopGoodsCodeTransfer: (r) =>
    fly.get("/api/shop/myShopGoodsCodeTransfer.json", r),
  // 查询商城的产品券
  myShopGoodsCode: (r) => fly.get("/api/shop/myShopGoodsCode.json", r),
  // 转赠的接口
  presentGiftCoupon4Platform: (r) =>
    fly.get("/api/coupon/presentGiftCoupon4Platform.json", r),
  // 接受转赠的接口
  receiveGiftCoupon4Platform: (r) =>
    fly.get("/api/coupon/receiveGiftCoupon4Platform.json", r),
  // 通过shareId反查优惠券信息
  getCouponByShareId: (r) => fly.get("/api/coupon/getCouponByShareId.json", r),
  // 通过券号反查优惠券信息
  findCouponDetailByCoupon: (r) =>
    fly.get("/api/member/findCouponDetailByCoupon.json", r),
  // 通过套票反查套票信息
  listCombinationBase: (r) =>
    fly.get("/api/member/listCombinationBase.json", r),
  // 优惠券领取接口
  receiveSCCoupon: (r) => fly.post("/api/shop/receiveSCCouponNew.json?" + r, r),
  //验证验证码
  edmVerify: (r) => fly.get("/api/member/edmVerify.json", r),
  //设置密码
  editPassword: (r) => fly.post("/api/member/info.json?" + r, r),
  //积分列表
  listPoint: (r) => fly.get("/api/member/listPoint.json", r),
  // 申请成为分销员
  registerDistributor: (r) =>
    fly.post("/api/distribution/registerDistributor.json?" + r.url, r),
  // 申请成为分销员2
  registerDistributorByflyBodyAndParam: (r) =>
    fly.post(
      "/api/distribution/registerDistributorByflyBodyAndParam.json?" + r.url,
      r.flyStr
    ),
  //获取分销海报
  findDistributorConfig: (r) =>
    fly.get("/api/distribution/findDistributorConfig", r),
  // 查询是否为分销员
  isDistributor: (r) => fly.get("/api/distribution/isDistributor.json", r),
  // 查询分销员信息
  myDistributionCenter: (r) =>
    fly.get("/api/distribution/myDistributionCenter.json", r),
  // 查询分销员成交奖励
  findShopDistributorDetailListExcel: (r) =>
    fly.get("/api/distribution/findShopDistributorDetailListExcel.json", r),
  // 查询分销员成交奖励
  findShopDistributorDetailListExcelNew: (r) =>
    fly.get("/api/distribution/findShopDistributorDetailListExcelNew.json", r),
  // 查询分销员成交奖励
  pageShopDistributorDetailItem: (r) =>
    fly.get("/api/distribution/pageShopDistributorDetailItem.json", r),
  // 分销员订单申请提现
  // withdrawalByOrder :r=> fly.get("http://192.168.21.9:8080/api/distribution/withdrawalByOrder",r),
  withdrawalByOrder: (r) => fly.get("/api/distribution/withdrawalByOrder", r),
  // 获取分销员申请酒店列表
  hotelList: (r) => fly.get("/api/distribution/hotelList.json", r),
  // 获取分销员申请部门列表
  distributorDepList: (r) =>
    fly.get("/api/distribution/distributorDepList.json", r),
  // 获取分销员申请新部门列表
  distributorDepListNew: (r) =>
    fly.get("/api/distribution/distributorDepListNew.json", r),
  // 地址管理
  addAddress: (r) => fly.post("/api/member/shippingAddress.json", r),
  deleteAddress: (r) =>
    fly.delete(
      "/api/member/shippingAddress.json?id=" + r.id + "&memberId=" + r.memberId
    ),
  getMemberAddress: (r) => fly.get("/api/member/shippingAddress.json", r),
  setDefaultAddress: (r) =>
    fly.post(
      "/api/member/shippingAddress/default.json?memberId=" +
      r.memberId +
      "&id=" +
      r.id,
      r
    ),
  // 关于我们
  getAboutUs: (r) =>
    fly.get(
      "/api/cms/category/getCategroyByCode.json?hotelGroupCode=" +
      r.hotelGroupCode +
      "&hotelCode=" +
      r.hotelCode +
      "&code=aboutUs&orderBy=list_order"
    ),
  getAboutUsContent: (r) => fly.get("/api/cms/articles/views.json", r),
  getAboutUsSlider: (r) =>
    fly.get("/api/cms/listCmsEquity.json?articleId=" + r.typeId, r),
  // 商品订单点评添加
  addOrderComment: (r) => fly.post("/api/shop/addComment.json", r),
  // 获取订单评价列表
  getOrderListComment: (r) => fly.get("/api/shop/listComment.json", r),
  // 获取退款原因列表
  getRefundReasonList: (r) =>
    fly.get("/api/cms/codebase/listCodeBase.json?parentCode=refundReason"),
  // 申请退款
  doOrderRedund: (r) =>
    fly.post("/api/shop/oderRefund.json?orderNo=" + r.orderNo, r),
  // 意见反馈
  addSuggesttion: (r) => fly.post("/api/hotel/addSuggesttion.json", r),
  getTmplIds: (r) =>
    fly.get("/api/microSoftWare/msgtemplate/getTmplIds.json", r),
  aggregatePage: (r) => fly.get("/api/shop/aggregatePage.json", r),
  getCouponDetail: (r) => fly.get("/api/shop/getCouponDetail.json", r),
  listGoodsTypeSonNew: (r) => fly.get("/api/shop/listGoodsTypeSonNew.json", r),
  //获取地址列表
  getAreaInfo: (r) => fly.get("/api/area/info.json", r),
  //撤销转赠
  cancelReceiveGiftCoupon4Platform: (r) =>
    fly.get("/api/coupon/cancelReceiveGiftCoupon4Platform.json", r),
  cancelTransferShareInfo: (r) =>
    fly.get("/api/shop/cancelTransferShareInfo.json", r),
  //预售列表接口
  getShopActivityGoodsList: (r) =>
    fly.get("/api/shop/getShopActivityGoodsList.json", r),
  //预售详情接口
  getShopActivityGoodsInfo: (r) =>
    fly.get("/api/shop/getShopActivityGoodsInfo.json", r),
  // 获取商城模块
  getShopModule: (r) => fly.get("/api/shop/getShopModule.json", r),
  // 拼团商品列表
  findShopGroupList: (r) => fly.get("/api/shop/findShopGroupList.json", r),
  // 拼团商品详情
  getShopGroupDetail: (r) => fly.get("/api/shop/getShopGroupDetail.json", r),
  // 获取拼团详情
  shopGroupBookDetail: (r) => fly.get("/api/shop/shopGroupBookDetail.json", r),
  //获取直播列表
  getLiveinfo: (r) =>
    fly.post(
      "/api/wxMiniApp/getLiveinfo.json?appid=" +
      r.appid +
      "&componentAppid=" +
      r.componentAppid,
      r
    ),
  //添加收藏
  addGoodsCollection: (r) => fly.post("/api/shop/addGoodsCollection.json", r),
  //我的收藏
  getGoodsCollection: (r) => fly.get("/api/shop/getGoodsCollection.json", r),
  //删除收藏
  deleteGoodsCollection: (r) =>
    fly.post("/api/shop/deleteGoodsCollection.json", r),
  //查询商品是否收藏
  getGoodsIsCollection: (r) =>
    fly.get("/api/shop/getGoodsIsCollection.json", r),
  // 排行榜查询
  getInviteFansHistoryRanking: (r) =>
    fly.get("/api/wechat/platform/game/getInviteFansHistoryRanking.json", r),
  //会员中心订单数，收藏数
  getOrderAnalysisAndCollect: (r) =>
    fly.get("/api/shop/getOrderAnalysisAndCollect.json", r),
  //首单信息
  firstOrderInfo: (r) => fly.get("/api/shop/firstOrderInfo.json", r),
  //出行人列表
  getShopTravelPersons: (r) =>
    fly.get("/api/shop/getShopTravelPersons.json", r),
  //出行人添加，修改
  saveShopTravelPersons: (r) =>
    fly.post("/api/shop/saveShopTravelPersons.json?type=" + r.cardType, r),
  //删除出行人
  delTravelPerson: (r) => fly.get("/api/shop/delTravelPerson.json", r),
  //评价点赞
  commentLike: (r) => fly.get("/api/shop/commentLike.json", r),
  //取消点赞
  cancelCommentLike: (r) => fly.get("/api/shop/cancelCommentLike.json", r),
  //获取商品视频
  getGoodsVideo: (r) => fly.get("/api/shop/getGoodsVideo.json", r),
  //通过unionid获取分销信息
  getGcDistributorBase: (r) =>
    fly.get("/api/distribution/getGcDistributorBase.json", r),
  // 父商品分类和分类下商品接口
  goodsTypeIndex: (r) => fly.get("/api/shop/goodsTypeIndex.json", r),
  //获取首页模板
  shopIndePage: (r) => fly.get("/api/shop/shopIndePage.json", r),
  //获取主题色
  shopStyleConfig: (r) => fly.get("/api/shop/shopStyleConfig.json", r),
  //获取支付方式
  limitPayment: (r) => fly.get("/api/shop/limitPayment.json", r),
  //过滤聚合页商品列表
  shopGoodsTemplate: (r) => fly.get("/api/shop/shopGoodsTemplate.json", r),
  //获取券适用酒店
  getCouponSuitHotel: (r) => fly.get("/api/shop/getCouponSuitHotel.json", r),
  //取消（撤销）预约
  revokeOnlineReserve: (r) => fly.get("/api/shop/revokeOnlineReserve.json", r),
  //加价说明
  getShopOnlineReserveConfig: (r) =>
    fly.get("/api/shop/getShopOnlineReserveConfig.json", r),
  //预约
  submitOnlineReserve: (r) => fly.post("/api/shop/submitOnlineReserve.json", r),
  //查询区域列表
  findGcZoneList: (r) => fly.get("/api/hotel/findGcZoneList.json", r),
  getBaiduAk: (r) => fly.get("/service/BaiduApi/baiduAk", r),
  //获取集团下聚合页分组
  selectHotelGroupAggregate: (r) =>
    fly.get("/api/shop/selectHotelGroupAggregate.json", r),
  //开盲盒
  boxSplitOrder: (r) => fly.get("/api/shop/boxSplitOrder.json", r),
  //获取可用优惠券列表-购物车
  getAvailableCouponForCd: (r) =>
    fly.post("/api/shop/getAvailableCouponForCd.json", r),
  orderAggregation: (r) => fly.get("/api/orderAggregation/orderList.json", r),
  //获取在线预约商品库存
  getGoodStock: (r) => fly.get("/api/shop/getGoodStock.json", r),
  //获取在线预约商品sku
  getGoodsSkuInfo: (r) => fly.get("/api/shop/getGoodsSkuInfo.json", r),
  listShopHotelManager: (r) =>
    fly.get("/api/shop/listShopHotelManager.json", r),
  //充值卡充值
  rechargeCoupon: (r) =>
    fly.post(
      "/api/shop/rechargeCoupon.json?couponNo=" +
      r.couponNo +
      "&cardNo=" +
      r.cardNo +
      "&couponCode=" +
      r.couponCode +
      "&hotelGroupCode=" +
      r.hotelGroupCode,
      r
    ),
  //聚合页组合商品信息
  queryPackDailyDetailForHomePage: (r) =>
    fly.get("/api/hotel/queryPackDailyDetailForHomePage.json", r),
  //批量查询门票商品信息
  listProductByGoodsCode: (r) =>
    fly.post("/api/hotel/listProductByGoodsCode.json", r),
  //批量查询组合商品信息
  listQueryPackDailyDetail: (r) =>
    fly.get("/api/hotel/listQueryPackDailyDetail.json", r),
  // 获取积分支付规则
  getPointPayConfig: (r) => fly.get("/api/hotel/getPointPayConfig.json", r),
  //批量获取商品详情
  goodsDetailList: (r) => fly.get("/api/shop/goodsDetailList.json", r),
  //交易快照
  getShopOrderSnapshopt: (r) =>
    fly.get("/api/shop/getShopOrderSnapshopt.json", r),
  //获取自定义底部
  getShopButtonConfig: (r) => fly.get("/api/shop/getShopButtonConfig.json", r),
  //获取城市天气
  getWetherList: (r) => fly.get("/api/area/getWetherList.json", r),
  //券详细信息查询
  couponDeatil: (r) => fly.get("/api/shop/couponDeatil.json", r),
  //获取种草笔记分页
  listShopPlantingNotes: (r) =>
    fly.get("/api/shop/listShopPlantingNotes.json", r),
  //种草笔记详情
  getShopPlantingNotesInfo: (r) =>
    fly.get("/api/shop/getShopPlantingNotesInfo.json", r),
  //种草笔记点评
  addShopPlantingNotesComment: (r) =>
    fly.post("/api/shop/addShopPlantingNotesComment.json", r),
  //种草笔记点赞
  shopPlantingNotesLike: (r) =>
    fly.get("/api/shop/shopPlantingNotesLike.json", r),
  //种草笔记取消点赞
  cancelShopPlantingNotesLike: (r) =>
    fly.get("/api/shop/cancelShopPlantingNotesLike.json", r),
  //批量获取种草笔记详情
  getShopPlantingNotesInfoList: (r) =>
    fly.get("/api/shop/getShopPlantingNotesInfoList.json", r),
  //获取满减活动信息
  getShopActivityInfo: (r) => fly.get("/api/shop/getShopActivityInfo.json", r),
  //购物车更新自提点
  updateShopCartPickUpPoint: (r) =>
    fly.post("/api/shop/updateShopCartPickUpPoint?" + r.url, r),
  detailList: (r) => fly.get("/shopapi/aggregateTypeGoods/detailList.json", r),
  listAllGoodsDetailByParent: (r) =>
    fly.get("/shopapi/aggregateTypeGoods/listAllGoodsDetailByParent.json", r),
  saveOrUpdateFrequentTravellers: (r) =>
    fly.get("/api/member/saveOrUpdateFrequentTravellers.json", r),
  makeOrder4Aggregate: (r) =>
    fly.post("/api/hotel/makeOrder4Aggregate.json", r),
  findCouponDetailListByCondi: (r) =>
    fly.get("/api/member/findCouponDetailListByCondi.json", r),
  findCouponByUseParam: (r) =>
    fly.post("/api/member/findCouponByUseParam.json", r),
  deliveryMessageItemAjax: (r) =>
    fly.get("/api/shop/deliveryMessageItemAjax.json", r),
  getGuideByGoodsId: (r) =>
    fly.get("/hotelapi/journeyGuide/getGuideByGoodsId", r),
  checkMobileImgCode: (r) => fly.get("/api/member/checkMobileImgCode.json", r),
  // 商品订单点评添加
  addOrderComment: (r) => fly.post("/api/shop/addComment.json", r),
  // 获取订单评价列表
  getOrderListComment: (r) => fly.get("/api/shop/listComment.json", r),
  // 获取退款原因列表
  getRefundReasonList: (r) =>
    fly.get("/api/cms/codebase/listCodeBase.json?parentCode=refundReason"),
  // 申请退款
  doOrderRedund: (r) =>
    fly.post("/api/shop/oderRefund.json?orderNo=" + r.orderNo, r),
  // 意见反馈
  addSuggesttion: (r) => fly.post("/api/hotel/addSuggesttion.json", r),
  getTmplIds: (r) =>
    fly.get("/api/microSoftWare/msgtemplate/getTmplIds.json", r),
  aggregatePage: (r) => fly.get("/api/shop/aggregatePage.json", r),
  getCouponDetail: (r) => fly.get("/api/shop/getCouponDetail.json", r),
  listGoodsTypeSonNew: (r) => fly.get("/api/shop/listGoodsTypeSonNew.json", r),
  //获取地址列表
  getAreaInfo: (r) => fly.get("/api/area/info.json", r),
  //撤销转赠
  cancelReceiveGiftCoupon4Platform: (r) =>
    fly.get("/api/coupon/cancelReceiveGiftCoupon4Platform.json", r),
  cancelTransferShareInfo: (r) =>
    fly.get("/api/shop/cancelTransferShareInfo.json", r),
  //预售列表接口
  getShopActivityGoodsList: (r) =>
    fly.get("/api/shop/getShopActivityGoodsList.json", r),
  //预售详情接口
  getShopActivityGoodsInfo: (r) =>
    fly.get("/api/shop/getShopActivityGoodsInfo.json", r),
  // 获取商城模块
  getShopModule: (r) => fly.get("/api/shop/getShopModule.json", r),
  // 拼团商品列表
  findShopGroupList: (r) => fly.get("/api/shop/findShopGroupList.json", r),
  // 拼团商品详情
  getShopGroupDetail: (r) => fly.get("/api/shop/getShopGroupDetail.json", r),
  // 获取拼团详情
  shopGroupBookDetail: (r) => fly.get("/api/shop/shopGroupBookDetail.json", r),
  //获取直播列表
  getLiveinfo: (r) =>
    fly.post(
      "/api/wxMiniApp/getLiveinfo.json?appid=" +
      r.appid +
      "&componentAppid=" +
      r.componentAppid,
      r
    ),
  //添加收藏
  addGoodsCollection: (r) => fly.post("/api/shop/addGoodsCollection.json", r),
  //我的收藏
  getGoodsCollection: (r) => fly.get("/api/shop/getGoodsCollection.json", r),
  //删除收藏
  deleteGoodsCollection: (r) =>
    fly.post("/api/shop/deleteGoodsCollection.json", r),
  //查询商品是否收藏
  getGoodsIsCollection: (r) =>
    fly.get("/api/shop/getGoodsIsCollection.json", r),
  // 排行榜查询
  getInviteFansHistoryRanking: (r) =>
    fly.get("/api/wechat/platform/game/getInviteFansHistoryRanking.json", r),
  //会员中心订单数，收藏数
  getOrderAnalysisAndCollect: (r) =>
    fly.get("/api/shop/getOrderAnalysisAndCollect.json", r),
  //首单信息
  firstOrderInfo: (r) => fly.get("/api/shop/firstOrderInfo.json", r),
  //出行人列表
  getShopTravelPersons: (r) =>
    fly.get("/api/shop/getShopTravelPersons.json", r),
  //出行人添加，修改
  saveShopTravelPersons: (r) =>
    fly.post("/api/shop/saveShopTravelPersons.json?type=" + r.cardType, r),
  //删除出行人
  delTravelPerson: (r) => fly.get("/api/shop/delTravelPerson.json", r),
  //评价点赞
  commentLike: (r) => fly.get("/api/shop/commentLike.json", r),
  //取消点赞
  cancelCommentLike: (r) => fly.get("/api/shop/cancelCommentLike.json", r),
  //获取商品视频
  getGoodsVideo: (r) => fly.get("/api/shop/getGoodsVideo.json", r),
  //通过unionid获取分销信息
  getGcDistributorBase: (r) =>
    fly.get("/api/distribution/getGcDistributorBase.json", r),
  // 父商品分类和分类下商品接口
  goodsTypeIndex: (r) => fly.get("/api/shop/goodsTypeIndex.json", r),
  //获取首页模板
  shopIndePage: (r) => fly.get("/api/shop/shopIndePage.json", r),
  //获取主题色
  shopStyleConfig: (r) => fly.get("/api/shop/shopStyleConfig.json", r),
  //获取支付方式
  limitPayment: (r) => fly.get("/api/shop/limitPayment.json", r),
  //过滤聚合页商品列表
  shopGoodsTemplate: (r) => fly.get("/api/shop/shopGoodsTemplate.json", r),
  //获取券适用酒店
  getCouponSuitHotel: (r) => fly.get("/api/shop/getCouponSuitHotel.json", r),
  //取消（撤销）预约
  revokeOnlineReserve: (r) => fly.get("/api/shop/revokeOnlineReserve.json", r),
  //加价说明
  getShopOnlineReserveConfig: (r) =>
    fly.get("/api/shop/getShopOnlineReserveConfig.json", r),
  //预约
  submitOnlineReserve: (r) => fly.post("/api/shop/submitOnlineReserve.json", r),
  //查询区域列表
  findGcZoneList: (r) => fly.get("/api/hotel/findGcZoneList.json", r),
  getBaiduAk: (r) => fly.get("/service/BaiduApi/baiduAk", r),
  //获取集团下聚合页分组
  selectHotelGroupAggregate: (r) =>
    fly.get("/api/shop/selectHotelGroupAggregate.json", r),
  //开盲盒
  boxSplitOrder: (r) => fly.get("/api/shop/boxSplitOrder.json", r),
  //获取可用优惠券列表-购物车
  getAvailableCouponForCd: (r) =>
    fly.post("/api/shop/getAvailableCouponForCd.json", r),
  orderAggregation: (r) => fly.get("/api/orderAggregation/orderList.json", r),
  //获取在线预约商品sku
  getGoodsSkuInfo: (r) => fly.get("/api/shop/getGoodsSkuInfo.json", r),
  listShopHotelManager: (r) =>
    fly.get("/api/shop/listShopHotelManager.json", r),
  //充值卡充值
  rechargeCoupon: (r) =>
    fly.post(
      "/api/shop/rechargeCoupon.json?couponNo=" +
      r.couponNo +
      "&cardNo=" +
      r.cardNo +
      "&couponCode=" +
      r.couponCode +
      "&hotelGroupCode=" +
      r.hotelGroupCode,
      r
    ),
  //聚合页组合商品信息
  queryPackDailyDetailForHomePage: (r) =>
    fly.get("/api/hotel/queryPackDailyDetailForHomePage.json", r),
  //批量查询门票商品信息
  listProductByGoodsCode: (r) =>
    fly.post("/api/hotel/listProductByGoodsCode.json", r),
  //批量查询组合商品信息
  listQueryPackDailyDetail: (r) =>
    fly.get("/api/hotel/listQueryPackDailyDetail.json", r),
  // 获取积分支付规则
  getPointPayConfig: (r) => fly.get("/api/hotel/getPointPayConfig.json", r),
  //批量获取商品详情
  goodsDetailList: (r) => fly.get("/api/shop/goodsDetailList.json", r),
  //交易快照
  getShopOrderSnapshopt: (r) =>
    fly.get("/api/shop/getShopOrderSnapshopt.json", r),
  //获取自定义底部
  getShopButtonConfig: (r) => fly.get("/api/shop/getShopButtonConfig.json", r),
  //获取城市天气
  getWetherList: (r) => fly.get("/api/area/getWetherList.json", r),
  //券详细信息查询
  couponDeatil: (r) => fly.get("/api/shop/couponDeatil.json", r),
  //获取种草笔记分页
  listShopPlantingNotes: (r) =>
    fly.get("/api/shop/listShopPlantingNotes.json", r),
  //种草笔记详情
  getShopPlantingNotesInfo: (r) =>
    fly.get("/api/shop/getShopPlantingNotesInfo.json", r),
  //种草笔记点评
  addShopPlantingNotesComment: (r) =>
    fly.post("/api/shop/addShopPlantingNotesComment.json", r),
  //种草笔记点赞
  shopPlantingNotesLike: (r) =>
    fly.get("/api/shop/shopPlantingNotesLike.json", r),
  //种草笔记取消点赞
  cancelShopPlantingNotesLike: (r) =>
    fly.get("/api/shop/cancelShopPlantingNotesLike.json", r),
  //批量获取种草笔记详情
  getShopPlantingNotesInfoList: (r) =>
    fly.get("/api/shop/getShopPlantingNotesInfoList.json", r),
  //获取满减活动信息
  getShopActivityInfo: (r) => fly.get("/api/shop/getShopActivityInfo.json", r),
  //购物车更新自提点
  updateShopCartPickUpPoint: (r) =>
    fly.post("/api/shop/updateShopCartPickUpPoint?" + r.url, r),
  //获取会员码
  generatePayCodeForCard: (r) =>
    fly.get("/api/member/generatePayCodeForCard.json", r),
  //关闭强制提醒
  setCloseForceDialogConfigCache: (r) =>
    fly.get("/api/shop/setCloseForceDialogConfigCache.json", r),
  //获取关闭强制提醒
  getCloseForceDialogConfigCache: (r) =>
    fly.get("/api/shop/getCloseForceDialogConfigCache.json", r),
  //取消退款
  notRefund: (r) => fly.get("/api/shop/notRefund.json", r),
  detailList: (r) => fly.get("/shopapi/aggregateTypeGoods/detailList.json", r),
  listAllGoodsDetailByParent: (r) =>
    fly.get("/shopapi/aggregateTypeGoods/listAllGoodsDetailByParent.json", r),
  //物流公司
  selectShopDeliveryCompanyInfo: (r) =>
    fly.get("/api/shop/selectShopDeliveryCompanyInfo.json", r),
  //回寄信息
  refundDeliveryOrder: (r) => fly.post("/api/shop/refundDeliveryOrder.json", r),
  checkCanSubmit: (r) => fly.get("/api/shop/checkCanSubmit.json", r),
  queryCommentPresetConfig: (r) =>
    fly.post("/api/member/queryCommentPresetConfig", r),
  listCommentPreset: (r) => fly.get("/api/shop/listCommentPreset", r),
  getCategroyByCode: (r) => fly.get("/api/cms/category/getCategroyByCode", r),
  categoryViews: (r) => fly.get("/api/cms/category/" + r.id + "/views.json", r),
  aggregateCart: (r) => fly.get("/shopapi/aggregateCart/page", r),
  updateProductNum: (r) =>
    fly.post("/shopapi/aggregateCart/updateProductNum", r),
  deleteAggregateCart: (r) => fly.post("/shopapi/aggregateCart/delete", r),
  addAggregateCart: (r) => fly.post("/shopapi/aggregateCart/add", r),
  checkAggregateCart: (r) => fly.post("/shopapi/aggregateCart/check", r),
  saveOrUpdateFrequentTravellers: (r) =>
    fly.get("/api/member/saveOrUpdateFrequentTravellers.json", r),
  makeOrder4Aggregate: (r) =>
    fly.post("/api/hotel/makeOrder4Aggregate.json", r),
  findCouponDetailListByCondi: (r) =>
    fly.get("/api/member/findCouponDetailListByCondi.json", r),
  findCouponByUseParam: (r) =>
    fly.post("/api/member/findCouponByUseParam.json", r),
  deliveryMessageItemAjax: (r) =>
    fly.get("/api/shop/deliveryMessageItemAjax.json", r),
  getGuideByGoodsId: (r) =>
    fly.get("/hotelapi/journeyGuide/getGuideByGoodsId", r),
  checkMobileImgCode: (r) => fly.get("/api/member/checkMobileImgCode.json", r),
  selectH5New: (r) => fly.post("/hotelapi/PlayStrategy/selectH5New", r),
  getGuideByCode: (r) =>
    fly.get("/hotelapi/journeyGuide/getGuideByCode.json", r),
  getShopGoodsDiyDetailById: (r) =>
    fly.get("/shopapi/shopGoodsDiyDetail/getShopGoodsDiyDetailById.json", r),
  listProducts: (r) => fly.post("/api/hotel/listProducts.json", r), //门票列表
  queryTicketDetail: (r) => fly.get("/api/hotel/queryTicketDetail.json", r), //门票详情
  queryTicketDaily: (r) => fly.post("/api/hotel/queryTicketDaily.json", r), //价格日历
  queryTicketTimeFrame: (r) =>
    fly.post("/api/hotel/queryTicketTimeFrame.json", r), //门票分时
  queryHolidayList: (r) =>
    fly.post("/hotelapi/hotelHoliday/queryHolidayList", r), //17-节假日日期返回
  bookOrder: (r) => fly.post("/api/hotel/bookOrder.json", r), //门票下单
  querySpecTicketDailyPriceList: (r) =>
    fly.post("/api/hotel/querySpecTicketDailyPriceList.json", r), //门票SKU
  queryOrder: (r) => fly.post("/api/hotel/queryOrder.json", r), //门票订单详情
  ticketCancle: (r) => fly.get("/api/hotel/cancelOrder.json", r), //门票取消订单
  cancelRuleRefund: (r) => fly.post("/api/hotel/cancelRuleRefund", r), //门票取消规则调用
  queryPackProductsByType: (r) =>
    fly.post("/api/hotel/queryPackProductsByType.json", r), //组合列表
  queryPackBaseInfo: (r) => fly.get("/api/hotel/queryPackBaseInfo.json", r),
  queryPackProductInfo: (r) =>
    fly.post("/api/hotel/queryPackProductInfo.json", r),
  queryPackDailyDetail: (r) =>
    fly.get("/api/hotel/queryPackDailyDetail.json", r),
  queryOrderDetail: (r) => fly.get("/api/snow/queryOrderDetail.json", r), // 马镇订单详情
  newResrvCheck: (r) => fly.post("/api/hotel/product/newResrvCheck.json", r), //组合可定检查
  saveOrder: (r) => fly.post("/api/hotel/saveOrder.json", r), //组合下单
  cancelAblePack: (r) => fly.get("/api/hotel/cancel/cancelAblePack.json", r), //DIY组合是否可以取消
  refundPack: (r) => fly.get("/api/hotel/cancel/refundPack.json", r),
  packCancelOrder: (r) =>
    fly.post(
      "/api/hotel/product/cancelOrder.json?appid=" +
      r.appid +
      "&componentAppid=" +
      r.componentAppid,
      r
    ),
  orderDetailDouyinThirdCode: (r) =>
    fly.get("/api/shop/orderDetailDouyinThirdCode.json", r),
  shopOnlineReserveInfo: (r) =>
    fly.get("/api/shop/shopOnlineReserveInfo.json", r),
  getHotelCouponReserveRecordList: (r) =>
    fly.get("/api/shop/getHotelCouponReserveRecordList.json", r),
  getHotelCouponReserveAcitivityList: (r) =>
    fly.get("/api/shop/getHotelCouponReserveAcitivityList.json", r),
  queryRoomExtra: (r) => fly.post("/api/hotel/queryRoomExtra.json", r),
  developFansHFive: (r) =>
    fly.get("/api/distribution/developFansHFive.json", r),
  findSysOptions: (r) => fly.get("/baseapi/sysOptions/findSysOptions.json", r),
  station: (r) => fly.get("/travel-int/api/base/station", r),
  listTravelMinPrice: (r) =>
    fly.post("/travel-int/api/base/listTravelMinPrice", r),
  getTravelTransportListByCondition: (r) =>
    fly.post("/travel-int/api/base/getTravelTransportListByCondition", r),
  getTravelTransportDetailInfo: (r) =>
    fly.get("/travel-int/api/base/detailInfo", r),
  verify: (r) => fly.get("/travel-int/api/order/verify.json", r),
  tripDailyList: (r) => fly.get("/travel-int/api/voyage/list", r),
  tripFindDetail: (r) => fly.get("/travel-int/api/voyage/findDetail", r),
  getTravelTransportRouteListByCondition: (r) =>
    fly.post("/travel-int/api/base/getTravelTransportRouteListByCondition", r),
  hotelAlbum: (r) => fly.post("/api/hotel/hotelAlbum.json", r),
  saveOrUpdateFrequentTravellersNew: (r) =>
    fly.post("/api/member/saveOrUpdateFrequentTravellersNew.json", r),
  listScenicNotice: (r) => fly.post("/api/hotel/listScenicNotice.json", r),
  spotPay: (r) => fly.get("/api/travel/spotPay.json", r),
  extraComment: (r) => fly.post("/api/shopComment/extraComment.json", r),
  // 综合点评
  saveComment: (r) => fly.post("/api/member/saveComment.json", r),
  // 综合点评列表
  queryCommentPage: (r) => fly.post("/api/member/queryCommentPage", r),
  // 外卖列表
  pccodeListWm: (r) => fly.get("/api/takeout/pccodeListWm", r),
  // 外卖下单支付
  saveTakeoutOrder: (r) => fly.post("/api/takeout/saveTakeoutOrder", r),
  // 外卖取消订单
  cancelTakeoutOrder: (r) => fly.get("/api/takeout/cancelTakeoutOrder", r),
  findMapModeTypes: (r) =>
    fly.post("/hotelapi/MapModeConfig/findMapModeTypes", r),
  getScrollPic: (r) => fly.get("/api/shop/getScrollPic.json", r),
  restaurantSaveOrder: (r) => fly.post("/api/food/saveOrder", r), //餐饮下单
  restaurantOrderDetail: (r) => fly.get("/api/food/orderDetail", r), //餐饮订单详情
  calcPrice: (r) => fly.post("/travel-int/api/order/calcPrice2", r),
  getBoatFloorList: (r) => fly.get("/travel-int/api/order/getBoatFloorList", r),
  getTripOrderList: (r) => fly.get("/travel-int/api/order/list", r),
  listMinPriceCalendar: (r) =>
    fly.get("/travel-int/api/base/listMinPriceCalendar", r),
  tripCancelOrder: (r) => fly.get("/api/travel/cancelOrder.json", r),
  getTripOrderDetail: (r) => fly.get("/travel-int/api/order/detail", r),
  getVoyageDetail: (r) => fly.get("/travel-int/api/voyage/getVoyageDetail", r),
  saveTravelTrip: (r) => fly.post("/api/travel/saveTravelTrip.json", r),
  queryBoatRoom: (r) => fly.get("/travel-int/api/order/queryBoatRoom", r),
  getBoatDetail: (r) => fly.get("/travel-int/api/base/getBoatDetail", r),
  albumList: (r) => fly.get("/travel-int/api/base/albumList", r),
  constructionDetail: (r) =>
    fly.get("/travel-int/api/base/constructionDetail", r),
  payForSelectRoom: (r) => fly.get("/api/pay/payForSelectRoom.json", r),
  queryUpFloorPrice: (r) =>
    fly.post("/travel-int/api/order/queryUpFloorPrice", r),
  selectRoom: (r) => fly.post("/travel-int/api/order/selectRoom", r),
  tripPreCancel: (r) => fly.get("/travel-int/api/order/preCancel", r),
  upgradeFee: (r) => fly.post("/upgradeFee/api/order/upgradeFee", r),
  //冠达自助结账
  hkBillInquiry: (r) => fly.get("/api/selfBook/hkBillInquiry", r),
  payForAccount: (r) => fly.get("/api/pay/payForAccount", r),
  verifyByOne: (r) => fly.get("/travel-int/api/order/verifyByOne", r),
  listScenicSpot: (r) => fly.post("/api/hotel/listScenicSpot.json", r),
  getAppView: (r) => fly.get("/travel-int/api/order/getAppView", r),
  getViewApp: (r) => fly.get("/travel-int/api/order/getViewApp", r),
  ticketSave: (r) => fly.post("/travel-int/api/orderProduct/save", r),
  pmsGcMaster: (r) => fly.get("/travel-int/api/order/pmsGcMaster", r),
  queryImgUrl: (r) => fly.post("/api/hotel/queryImgUrl.json", r),
  getApiTourist: (r) => fly.get("/travel-int/api/order/getApiTourist", r),
  AppDetail: (r) =>
    fly.get("/travel-int/api/orderProduct/AppDetail/" + r.prorderNo, r),
  cancelOrder4Spot: (r) => fly.get("/api/travel/cancelOrder4Spot.json", r),
  prorderList: (r) => fly.post("/travel-int/api/orderProduct/prorderList", r),
  listHotelWifiConfig: (r) =>
    fly.get("/hotelapi/hotelWifiConfig/listHotelWifiConfig", r),
  verifyByAll: (r) => fly.get("/travel-int/api/order/verifyByAll.json", r),
  payForSelectRoomNew: (r) => fly.post("/api/pay/payForSelectRoomNew.json", r),
  cancelSelect: (r) => fly.get("/api/travel/cancelSelect.json", r),
  selectRoomNew: (r) =>
    fly.post("/travel-int/api/orderProduct/selectRoomNew", r),
  goodsPay: (r) => fly.post("/api/travel/goodsPay.json", r),
  rentalPay: (r) => fly.post("/api/travel/rentalPay.json", r),
  cancelTravelServerOrder: (r) =>
    fly.post("/api/travel/cancelTravelServerOrder.json", r),
  getBoatRoomPrice: (r) =>
    fly.get("/travel-int/api/order/getBoatRoomPrice.json", r),
  removeFrequentTravellers: (r) =>
    fly.get("/api/member/removeFrequentTravellers.json", r),
  listAllGoodsDetailByParentCode: (r) =>
    fly.get("/shopapi/aggregateTypeGoods/listAllGoodsDetailByParentCode", r),
  queryGroupById: (r) =>
    fly.get("/shopapi/aggregateTypeGoods/listTypeWithGoodsById", r),
  getMeetingList: (r) => fly.post("/api/meeting/getMeetingList", r),
  getMeetingDetail: (r) => fly.post("/api/meeting/getMeetingDetail", r),
  getGcHotelByCode: (r) => fly.post("/api/meeting/getGcHotelByCode", r),
  ticketOrderReturn: (r) =>
    fly.post("/api/hotel/cancel/ticketOrderReturn.json", r), //门票部分退款
  cancelPosOrder: (r) => fly.post("/api/food/cancelPosOrder", r), //餐饮订单详情取消
  queryTicketDetailCommon: (r) =>
    fly.get("/api/hotel/queryTicketDetailCommon.json", r), //，门票详情自定义续订须知
  getProductsGroupDetail: (r) =>
    fly.get("/shopapi/shopGoodsProducts/getProductsGroupDetail", r), //，DIY获取产品分组
  // 获取我的副卡列表
  getListSupplementCardByCardId: (r) => fly.get("/api/vipCard/listSupplementCardByCardId.json", r),
  // 发起副卡邀请
  inviteSupplementCard: (r) => fly.get("/api/vipCard/inviteSupplementCard.json", r),
  // 接受副卡邀请
  bindSupplementCard: (r) => fly.get("/api/vipCard/bindSupplementCard.json", r),
  // 查询副卡详情 
  queryInviteSupplementCard: (r) => fly.get("/api/vipCard/queryInviteSupplementCard.json", r),
};

export default api;
